package com.swx.identityservice.service;

import com.swx.identityservice.models.ScbpPermission;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0.0
 * @date 2018/6/3 0003 0:31
 */
public interface ScbpPermissionService extends CrudService<ScbpPermission> {

    List<ScbpPermission> getPermissionsAsTree(Object key) throws Exception;
    List<ScbpPermission> getAllPermissions() throws Exception;

    ScbpPermission selectParentExist(String name);
//    List<ScbpPermission> getPermissionsAsTree() throws Exception;

}
